package com.lsy.demo.entry;

import java.util.List;
import java.util.Set;

/**
 * @author : lsy
 * @version 1.0
 * @description: TODO
 * @date 2021/11/8 12:42
 */

public class KOneConditionA {

    private String key;

    private String value;

    private Set<String> valueList;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Set<String> getValueList() {
        return valueList;
    }

    public void setValueList(Set<String> valueList) {
        this.valueList = valueList;
    }

    public KOneConditionA() {
    }

    public KOneConditionA(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public KOneConditionA(String key, Set<String> valueList) {
        this.key = key;
        this.valueList = valueList;
    }

    public static KOneConditionA of (String key, String value) {

        return new KOneConditionA(key,value);
    }

    public static KOneConditionA ofc (String key, Set<String> valueList) {

        return new KOneConditionA(key,valueList);
    }
}
